@import '../../../style/var';

.my-address {
    position: relative;
    height: 100%;
    // padding-bottom: 124px;

    .item {
        margin: 20px auto;
        padding: 24px 23px;
        width: 702px;
        background: rgba(255, 255, 255, 1);
        border-radius: 6px;
        &:last-of-type {
          margin-bottom: 120px;
        }
    }

    .title-line {
        display: flex;
        align-items: center;
        margin-bottom: 20px;
    }

    .address-line {
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    .name {
        max-width: 120px;
        @include oneRowOmit;
        font-size: 30px;
        font-family: PingFang-SC-Regular;
        font-weight: bold;
        color: rgba(0, 0, 0, 1);
    }

    .address {
        @include doubleRowOmit;
        max-width: 586px;
        max-height: 68px;
        font-size: 26px;
        font-family: PingFang-SC-Regular;
        font-weight: bold;
        color: rgba(176, 176, 176, 1);
        line-height: 34px;
    }

    .phone {
        max-width: 300px;
        margin-left: 39px;
        font-size: 30px;
        font-family: MicrosoftYaHeiUILight;
        font-weight: bold;
        color: rgba(0, 0, 0, 1);
        @include oneRowOmit;
    }

    .edit-icon {
        width: 23px;
        height: 23px;
    }

    .default {
        text-align: center;
        margin-left: 6px;
        width: 69px;
        line-height: 35px;
        background: rgba(38, 38, 38, 1);
        border-radius: 6px;
        font-size: 22px;
        font-family: PingFang-SC-Regular;
        font-weight: 400;
        color: rgba(255, 255, 255, 1);
    }

    .add-box {
        position: fixed;
        left: 0;
        bottom: 0;
        width: 100%;
        height: 120px;
        background: #F7F7F7;
    }

    .add-btn {
        display: flex;
        align-items: center;
        justify-content: center;
        margin: 10px auto;
        width: 702px;
        height: 90px;
        font-size: 28px;
        font-family: PingFang-SC-Regular;
        font-weight: bold;
        color: rgba(255, 255, 255, 1);
        background: rgba(0, 0, 0, 1);
    }

    .add-icon {
        margin-right: 12px;
        width: 28px;
        height: 28px;
    }
}

.no-address {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 270px;
    width: 100%;

    .address-icon {
        margin-bottom: 44px;
        width: 109px;
        height: 152px;
    }

    .tip {
        text-align: center;
        white-space: nowrap;
        font-size: 26px;
        font-weight: bold;
        color: rgba(176, 176, 176, 1);
    }
}
